<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');
include_once ('AlibabaPifatuanProductDetailListParam/AlibabaPifatuanProductDetailListTradeAddressCode.class.php');
include_once ('AlibabaPifatuanProductDetailListParam/AlibabaPifatuanProductDetailListOpenplatformFreightTemplate.class.php');

class AlibabaPifatuanProductDetailListProductShippingInfo extends SDKDomain {

       	
    private $channelPriceExcludeAreaCodes;
    
        /**
    * @return 
    */
        public function getChannelPriceExcludeAreaCodes() {
        return $this->channelPriceExcludeAreaCodes;
    }
    
    /**
     * 设置     
     * @param array include @see AlibabaPifatuanProductDetailListTradeAddressCode[] $channelPriceExcludeAreaCodes     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setChannelPriceExcludeAreaCodes(AlibabaPifatuanProductDetailListTradeAddressCode $channelPriceExcludeAreaCodes) {
        $this->channelPriceExcludeAreaCodes = $channelPriceExcludeAreaCodes;
    }
    
        	
    private $channelPriceFreePostage;
    
        /**
    * @return 
    */
        public function getChannelPriceFreePostage() {
        return $this->channelPriceFreePostage;
    }
    
    /**
     * 设置     
     * @param Boolean $channelPriceFreePostage     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setChannelPriceFreePostage( $channelPriceFreePostage) {
        $this->channelPriceFreePostage = $channelPriceFreePostage;
    }
    
        	
    private $freightTemplateID;
    
        /**
    * @return 
    */
        public function getFreightTemplateID() {
        return $this->freightTemplateID;
    }
    
    /**
     * 设置     
     * @param Long $freightTemplateID     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setFreightTemplateID( $freightTemplateID) {
        $this->freightTemplateID = $freightTemplateID;
    }
    
        	
    private $freightTemplateList;
    
        /**
    * @return 
    */
        public function getFreightTemplateList() {
        return $this->freightTemplateList;
    }
    
    /**
     * 设置     
     * @param array include @see AlibabaPifatuanProductDetailListOpenplatformFreightTemplate[] $freightTemplateList     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setFreightTemplateList(AlibabaPifatuanProductDetailListOpenplatformFreightTemplate $freightTemplateList) {
        $this->freightTemplateList = $freightTemplateList;
    }
    
        	
    private $handlingTime;
    
        /**
    * @return 
    */
        public function getHandlingTime() {
        return $this->handlingTime;
    }
    
    /**
     * 设置     
     * @param Integer $handlingTime     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setHandlingTime( $handlingTime) {
        $this->handlingTime = $handlingTime;
    }
    
        	
    private $offerHeight;
    
        /**
    * @return 
    */
        public function getOfferHeight() {
        return $this->offerHeight;
    }
    
    /**
     * 设置     
     * @param Double $offerHeight     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setOfferHeight( $offerHeight) {
        $this->offerHeight = $offerHeight;
    }
    
        	
    private $offerLength;
    
        /**
    * @return 
    */
        public function getOfferLength() {
        return $this->offerLength;
    }
    
    /**
     * 设置     
     * @param Double $offerLength     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setOfferLength( $offerLength) {
        $this->offerLength = $offerLength;
    }
    
        	
    private $offerSuttleWeight;
    
        /**
    * @return 
    */
        public function getOfferSuttleWeight() {
        return $this->offerSuttleWeight;
    }
    
    /**
     * 设置     
     * @param Double $offerSuttleWeight     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setOfferSuttleWeight( $offerSuttleWeight) {
        $this->offerSuttleWeight = $offerSuttleWeight;
    }
    
        	
    private $offerWidth;
    
        /**
    * @return 
    */
        public function getOfferWidth() {
        return $this->offerWidth;
    }
    
    /**
     * 设置     
     * @param Double $offerWidth     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setOfferWidth( $offerWidth) {
        $this->offerWidth = $offerWidth;
    }
    
        	
    private $packageSize;
    
        /**
    * @return 
    */
        public function getPackageSize() {
        return $this->packageSize;
    }
    
    /**
     * 设置     
     * @param String $packageSize     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setPackageSize( $packageSize) {
        $this->packageSize = $packageSize;
    }
    
        	
    private $sendGoodsAddressId;
    
        /**
    * @return 
    */
        public function getSendGoodsAddressId() {
        return $this->sendGoodsAddressId;
    }
    
    /**
     * 设置     
     * @param Long $sendGoodsAddressId     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setSendGoodsAddressId( $sendGoodsAddressId) {
        $this->sendGoodsAddressId = $sendGoodsAddressId;
    }
    
        	
    private $sendGoodsAddressText;
    
        /**
    * @return 
    */
        public function getSendGoodsAddressText() {
        return $this->sendGoodsAddressText;
    }
    
    /**
     * 设置     
     * @param String $sendGoodsAddressText     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setSendGoodsAddressText( $sendGoodsAddressText) {
        $this->sendGoodsAddressText = $sendGoodsAddressText;
    }
    
        	
    private $unitWeight;
    
        /**
    * @return 
    */
        public function getUnitWeight() {
        return $this->unitWeight;
    }
    
    /**
     * 设置     
     * @param Double $unitWeight     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setUnitWeight( $unitWeight) {
        $this->unitWeight = $unitWeight;
    }
    
        	
    private $volume;
    
        /**
    * @return 
    */
        public function getVolume() {
        return $this->volume;
    }
    
    /**
     * 设置     
     * @param Integer $volume     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setVolume( $volume) {
        $this->volume = $volume;
    }
    
        	
    private $distributionFreePostage;
    
        /**
    * @return 分销严选是否包邮
    */
        public function getDistributionFreePostage() {
        return $this->distributionFreePostage;
    }
    
    /**
     * 设置分销严选是否包邮     
     * @param Boolean $distributionFreePostage     
     * 参数示例：<pre>true</pre>     
     * 此参数必填     */
    public function setDistributionFreePostage( $distributionFreePostage) {
        $this->distributionFreePostage = $distributionFreePostage;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "channelPriceExcludeAreaCodes", $this->stdResult )) {
    			$channelPriceExcludeAreaCodesResult=$this->stdResult->{"channelPriceExcludeAreaCodes"};
    				$object = json_decode ( json_encode ( $channelPriceExcludeAreaCodesResult ), true );
					$this->channelPriceExcludeAreaCodes = array ();
					for($i = 0; $i < count ( $object ); $i ++) {
						$arrayobject = new ArrayObject ( $object [$i] );
						$AlibabaPifatuanProductDetailListTradeAddressCodeResult=new AlibabaPifatuanProductDetailListTradeAddressCode();
						$AlibabaPifatuanProductDetailListTradeAddressCodeResult->setArrayResult($arrayobject );
						$this->channelPriceExcludeAreaCodes [$i] = $AlibabaPifatuanProductDetailListTradeAddressCodeResult;
					}
    			}
    			    		    				    			    			if (array_key_exists ( "channelPriceFreePostage", $this->stdResult )) {
    				$this->channelPriceFreePostage = $this->stdResult->{"channelPriceFreePostage"};
    			}
    			    		    				    			    			if (array_key_exists ( "freightTemplateID", $this->stdResult )) {
    				$this->freightTemplateID = $this->stdResult->{"freightTemplateID"};
    			}
    			    		    				    			    			if (array_key_exists ( "freightTemplateList", $this->stdResult )) {
    			$freightTemplateListResult=$this->stdResult->{"freightTemplateList"};
    				$object = json_decode ( json_encode ( $freightTemplateListResult ), true );
					$this->freightTemplateList = array ();
					for($i = 0; $i < count ( $object ); $i ++) {
						$arrayobject = new ArrayObject ( $object [$i] );
						$AlibabaPifatuanProductDetailListOpenplatformFreightTemplateResult=new AlibabaPifatuanProductDetailListOpenplatformFreightTemplate();
						$AlibabaPifatuanProductDetailListOpenplatformFreightTemplateResult->setArrayResult($arrayobject );
						$this->freightTemplateList [$i] = $AlibabaPifatuanProductDetailListOpenplatformFreightTemplateResult;
					}
    			}
    			    		    				    			    			if (array_key_exists ( "handlingTime", $this->stdResult )) {
    				$this->handlingTime = $this->stdResult->{"handlingTime"};
    			}
    			    		    				    			    			if (array_key_exists ( "offerHeight", $this->stdResult )) {
    				$this->offerHeight = $this->stdResult->{"offerHeight"};
    			}
    			    		    				    			    			if (array_key_exists ( "offerLength", $this->stdResult )) {
    				$this->offerLength = $this->stdResult->{"offerLength"};
    			}
    			    		    				    			    			if (array_key_exists ( "offerSuttleWeight", $this->stdResult )) {
    				$this->offerSuttleWeight = $this->stdResult->{"offerSuttleWeight"};
    			}
    			    		    				    			    			if (array_key_exists ( "offerWidth", $this->stdResult )) {
    				$this->offerWidth = $this->stdResult->{"offerWidth"};
    			}
    			    		    				    			    			if (array_key_exists ( "packageSize", $this->stdResult )) {
    				$this->packageSize = $this->stdResult->{"packageSize"};
    			}
    			    		    				    			    			if (array_key_exists ( "sendGoodsAddressId", $this->stdResult )) {
    				$this->sendGoodsAddressId = $this->stdResult->{"sendGoodsAddressId"};
    			}
    			    		    				    			    			if (array_key_exists ( "sendGoodsAddressText", $this->stdResult )) {
    				$this->sendGoodsAddressText = $this->stdResult->{"sendGoodsAddressText"};
    			}
    			    		    				    			    			if (array_key_exists ( "unitWeight", $this->stdResult )) {
    				$this->unitWeight = $this->stdResult->{"unitWeight"};
    			}
    			    		    				    			    			if (array_key_exists ( "volume", $this->stdResult )) {
    				$this->volume = $this->stdResult->{"volume"};
    			}
    			    		    				    			    			if (array_key_exists ( "distributionFreePostage", $this->stdResult )) {
    				$this->distributionFreePostage = $this->stdResult->{"distributionFreePostage"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    		if (array_key_exists ( "channelPriceExcludeAreaCodes", $this->arrayResult )) {
    		$channelPriceExcludeAreaCodesResult=$arrayResult['channelPriceExcludeAreaCodes'];
    			$this->channelPriceExcludeAreaCodes = new AlibabaPifatuanProductDetailListTradeAddressCode();
    			$this->channelPriceExcludeAreaCodes->setStdResult ( $channelPriceExcludeAreaCodesResult);
    		}
    		    	    			    		    			if (array_key_exists ( "channelPriceFreePostage", $this->arrayResult )) {
    			$this->channelPriceFreePostage = $arrayResult['channelPriceFreePostage'];
    			}
    		    	    			    		    			if (array_key_exists ( "freightTemplateID", $this->arrayResult )) {
    			$this->freightTemplateID = $arrayResult['freightTemplateID'];
    			}
    		    	    			    		    		if (array_key_exists ( "freightTemplateList", $this->arrayResult )) {
    		$freightTemplateListResult=$arrayResult['freightTemplateList'];
    			$this->freightTemplateList = new AlibabaPifatuanProductDetailListOpenplatformFreightTemplate();
    			$this->freightTemplateList->setStdResult ( $freightTemplateListResult);
    		}
    		    	    			    		    			if (array_key_exists ( "handlingTime", $this->arrayResult )) {
    			$this->handlingTime = $arrayResult['handlingTime'];
    			}
    		    	    			    		    			if (array_key_exists ( "offerHeight", $this->arrayResult )) {
    			$this->offerHeight = $arrayResult['offerHeight'];
    			}
    		    	    			    		    			if (array_key_exists ( "offerLength", $this->arrayResult )) {
    			$this->offerLength = $arrayResult['offerLength'];
    			}
    		    	    			    		    			if (array_key_exists ( "offerSuttleWeight", $this->arrayResult )) {
    			$this->offerSuttleWeight = $arrayResult['offerSuttleWeight'];
    			}
    		    	    			    		    			if (array_key_exists ( "offerWidth", $this->arrayResult )) {
    			$this->offerWidth = $arrayResult['offerWidth'];
    			}
    		    	    			    		    			if (array_key_exists ( "packageSize", $this->arrayResult )) {
    			$this->packageSize = $arrayResult['packageSize'];
    			}
    		    	    			    		    			if (array_key_exists ( "sendGoodsAddressId", $this->arrayResult )) {
    			$this->sendGoodsAddressId = $arrayResult['sendGoodsAddressId'];
    			}
    		    	    			    		    			if (array_key_exists ( "sendGoodsAddressText", $this->arrayResult )) {
    			$this->sendGoodsAddressText = $arrayResult['sendGoodsAddressText'];
    			}
    		    	    			    		    			if (array_key_exists ( "unitWeight", $this->arrayResult )) {
    			$this->unitWeight = $arrayResult['unitWeight'];
    			}
    		    	    			    		    			if (array_key_exists ( "volume", $this->arrayResult )) {
    			$this->volume = $arrayResult['volume'];
    			}
    		    	    			    		    			if (array_key_exists ( "distributionFreePostage", $this->arrayResult )) {
    			$this->distributionFreePostage = $arrayResult['distributionFreePostage'];
    			}
    		    	    		}
 
   
}
?>